//package xijia.plus.docs.manage.all.service.impl;
//
//import com.baomidou.dynamic.datasource.annotation.DS;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import xijia.plus.docs.manage.all.service.TpService;
//import xijia.plus.docs.manage.all.util.TpUtil;
//
//@Service
//@Slf4j
//@DS("#header.tenantName")
//public class TpServiceImpl implements TpService {
//
//
//    @Autowired
//    private TpUtil tpUtil;
//
//    @Override
//    public void holeStatic() {
//
//    }
//
//    @Override
//    public void articleStatic() {
////        XjThreadUtil.asyncExecute(() -> {
////            List<Article> list = articleService.list(new LambdaQueryWrapper<Article>()
////                    .eq(Article::getState, 2)
////                    .eq(Article::getAuth, 1)
////                    .orderByAsc(Article::getSort)
////                    .orderByDesc(Article::getCreateTime)
////                    .last("limit 100")
////            );
////            for (Article article : list) {
////                String htmlPath = tpUtil.createHtml("doc", article.getAlias(), BeanUtil.beanToMap(article));
////                log.info("127.0.0.1:10006/" + htmlPath);
////            }
////        });
//        // Result.success(htmlPath);
//    }
//}
